package com.dgz.system.service.question;

import com.dgz.common.core.domain.TableDataInfo;
import com.dgz.system.domain.question.dto.QuestionAddDto;
import com.dgz.system.domain.question.dto.QuestionEditDto;
import com.dgz.system.domain.question.dto.QuestionQueryDto;
import com.dgz.system.domain.question.vo.QuestionDetailVO;
import com.dgz.system.domain.question.vo.QuestionVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: DongGuoZhen
 * @Date: 2025/04/03/14:10
 * @Description:
 */
@Service
public interface IQuestionService {
    List<QuestionVO> list(QuestionQueryDto questionQueryDto);

    boolean add(QuestionAddDto questionAddDto);

    QuestionDetailVO detail(Long questionId);

    int edit(QuestionEditDto questionEditDto);

    int delete(Long questionId);

}
